Skip to content

Conversation

roblabla
Copy link
Contributor

@roblabla roblabla commented Mar 31, 2022

On MacOS, paths will likely start with /Users, but clang-cl treats /U
as an argument, which leads to the source being mistaken for a flag. To
avoid this, we can pass -- before the source to ensure argument parsing
is disabled.

Fixes #513

On MacOS, paths will likely start with /Users, but clang-cl treats /U
as an argument, which leads to the source being mistaken for a flag. To
avoid this, we can pass -- before the source to ensure argument parsing
is disabled.
@roblabla
Copy link
Contributor Author

roblabla commented Mar 31, 2022

This was already previously proposed in #514

I can confirm this works as expected.

@m-ou-se
Copy link
Member

m-ou-se commented May 11, 2022

#514 has been merged.

@m-ou-se m-ou-se closed this May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use -- to separate flags and options from input filenames
2 participants